package com.yonyou.gmmc.dealerApp.api.model;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_USERS")
public class TmUsers {
    @Id
    @Column(name = "USER_ID")
    @SequenceGenerator(name="",sequenceName="SEQ_TM_USERS")
    private Integer userId;

    @Column(name = "DEALER_CODE")
    private String dealerCode;

    @Column(name = "USER_CODE")
    private String userCode;

    @Column(name = "LOGIN_NAME")
    private String loginName;

    @Column(name = "USER_NAME")
    private String userName;

    @Column(name = "SEX")
    private Short sex;

    @Column(name = "BIRTHDAY")
    private Date birthday;

    @Column(name = "PHONE")
    private String phone;

    @Column(name = "IDENTITY_CARD")
    private String identityCard;

    @Column(name = "QUARTERS_ID")
    private String quartersId;

    @Column(name = "QUARTERS_SIDE_IDS")
    private String quartersSideIds;

    @Column(name = "PASSWORD")
    private String password;

    @Column(name = "USER_TYPE")
    private String userType;

    @Column(name = "CREATE_DATE")
    private Date createDate;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "STATUS")
    private Short status;

    @Column(name = "EMIAL")
    private String emial;

    @Column(name = "ICONS_PHOTO")
    private String iconsPhoto;

    @Column(name = "VCODE")
    private String vcode;

    @Column(name = "FAILURE_NUM")
    private Short failureNum;

    @Column(name = "VIRTUAL_CENTER")
    private String virtualCenter;

    @Column(name = "MANAGER")
    private String manager;

    /**
     * @return USER_ID
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return DEALER_CODE
     */
    public String getDealerCode() {
        return dealerCode;
    }

    /**
     * @param dealerCode
     */
    public void setDealerCode(String dealerCode) {
        this.dealerCode = dealerCode;
    }

    /**
     * @return USER_CODE
     */
    public String getUserCode() {
        return userCode;
    }

    /**
     * @param userCode
     */
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    /**
     * @return LOGIN_NAME
     */
    public String getLoginName() {
        return loginName;
    }

    /**
     * @param loginName
     */
    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    /**
     * @return USER_NAME
     */
    public String getUserName() {
        return userName;
    }

    /**
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * @return SEX
     */
    public Short getSex() {
        return sex;
    }

    /**
     * @param sex
     */
    public void setSex(Short sex) {
        this.sex = sex;
    }

    /**
     * @return BIRTHDAY
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * @param birthday
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * @return PHONE
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return IDENTITY_CARD
     */
    public String getIdentityCard() {
        return identityCard;
    }

    /**
     * @param identityCard
     */
    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    /**
     * @return QUARTERS_ID
     */
    public String getQuartersId() {
        return quartersId;
    }

    /**
     * @param quartersId
     */
    public void setQuartersId(String quartersId) {
        this.quartersId = quartersId;
    }

    /**
     * @return QUARTERS_SIDE_IDS
     */
    public String getQuartersSideIds() {
        return quartersSideIds;
    }

    /**
     * @param quartersSideIds
     */
    public void setQuartersSideIds(String quartersSideIds) {
        this.quartersSideIds = quartersSideIds;
    }

    /**
     * @return PASSWORD
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return USER_TYPE
     */
    public String getUserType() {
        return userType;
    }

    /**
     * @param userType
     */
    public void setUserType(String userType) {
        this.userType = userType;
    }

    /**
     * @return CREATE_DATE
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @param createDate
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return STATUS
     */
    public Short getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Short status) {
        this.status = status;
    }

    /**
     * @return EMIAL
     */
    public String getEmial() {
        return emial;
    }

    /**
     * @param emial
     */
    public void setEmial(String emial) {
        this.emial = emial;
    }

    /**
     * @return ICONS_PHOTO
     */
    public String getIconsPhoto() {
        return iconsPhoto;
    }

    /**
     * @param iconsPhoto
     */
    public void setIconsPhoto(String iconsPhoto) {
        this.iconsPhoto = iconsPhoto;
    }

    /**
     * @return VCODE
     */
    public String getVcode() {
        return vcode;
    }

    /**
     * @param vcode
     */
    public void setVcode(String vcode) {
        this.vcode = vcode;
    }

    /**
     * @return FAILURE_NUM
     */
    public Short getFailureNum() {
        return failureNum;
    }

    /**
     * @param failureNum
     */
    public void setFailureNum(Short failureNum) {
        this.failureNum = failureNum;
    }

    /**
     * @return VIRTUAL_CENTER
     */
    public String getVirtualCenter() {
        return virtualCenter;
    }

    /**
     * @param virtualCenter
     */
    public void setVirtualCenter(String virtualCenter) {
        this.virtualCenter = virtualCenter;
    }

    /**
     * @return MANAGER
     */
    public String getManager() {
        return manager;
    }

    /**
     * @param manager
     */
    public void setManager(String manager) {
        this.manager = manager;
    }
}